package com.fcscs.cservice.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fcscs.cservice.dao.InRoomConfDao;
import com.fcscs.cservice.domain.BillOption;
import com.fcscs.cservice.domain.ChargeType;
import com.fcscs.cservice.domain.TransactionType;
import com.fcscs.cservice.domain.model.BillOptionView;
import com.fcscs.cservice.domain.model.ChargeCategoryView;
import com.fcscs.cservice.domain.model.ChargeTypeView;
import com.fcscs.cservice.domain.model.TransactionTypeView;
import com.fcscs.cservice.service.InRoomConfManager;

@Service("inRoomConfManager")
public class InRoomConfManagerImpl implements InRoomConfManager {

	@Autowired
	InRoomConfDao inRmConDao;
	
	@Override
	public List<TransactionType> getTransactionTypeList(long orgId, long propId) {
		return inRmConDao.getTransactionTypeList(orgId, propId);
	}

	@Override
	public List<TransactionTypeView> getTransactionTypeViewList(long orgId,long propId) {
		return inRmConDao.getTransactionTypeViewList(orgId, propId);
	}

	@Override
	public TransactionType createTransactionType(TransactionType txType) {
		return inRmConDao.createTransactionType(txType);
	}

	@Override
	public TransactionType saveTransactionType(TransactionType txType) {
		return inRmConDao.saveTransactionType(txType);
	}

	@Override
	public boolean deleteTransactionType(TransactionType txType) {
		return inRmConDao.deleteTransactionType(txType);
	}

	@Override
	public boolean permDeleteTransactionType(TransactionType txType) {
		return inRmConDao.permDeleteTransactionType(txType);
	}

	@Override
	public boolean isTransactionTypeTaken(long orgId, long propId, String code,Long id) {
		return inRmConDao.isTransactionTypeTaken(orgId, propId, code, id);
	}

	@Override
	public List<ChargeType> getChargeTypeList(long orgId, long propId) {
		return inRmConDao.getChargeTypeList(orgId, propId);
	}

	@Override
	public List<ChargeTypeView> getChargeTypeViewList(long orgId, long propId) {
		return inRmConDao.getChargeTypeViewList(orgId, propId);
	}

	@Override
	public ChargeType createChargeType(ChargeType chargeType) {
		return inRmConDao.createChargeType(chargeType);
	}

	@Override
	public ChargeType saveChargeType(ChargeType chargeType) {
		return inRmConDao.saveChargeType(chargeType);
	}

	@Override
	public boolean deleteChargeType(ChargeType chargeType) {
		return inRmConDao.deleteChargeType(chargeType);
	}

	@Override
	public boolean permDeleteChargeType(ChargeType chargeType) {
		return inRmConDao.permDeleteChargeType(chargeType);
	}

	@Override
	public boolean isChargeTypeTaken(long orgId, long propId, String code,Long id) {
		return inRmConDao.isChargeTypeTaken(orgId, propId, code, id);
	}

	@Override
	public List<ChargeCategoryView> getChargeCategoryViewList(long orgId,long propId) {
		return inRmConDao.getChargeCategoryViewList(orgId, propId);
	}

	@Override
	public ChargeCategoryView createChargeCategoryView(long orgId, long propId,
			ChargeCategoryView chargeCategory) {
		return inRmConDao.createChargeCategoryView(orgId, propId, chargeCategory);
	}

	@Override
	public ChargeCategoryView saveChargeCategoryView(long orgId, long propId,
			ChargeCategoryView chargeCategory) {
		return inRmConDao.saveChargeCategoryView(orgId, propId, chargeCategory);
	}

	@Override
	public boolean deleteChargeCategoryView(ChargeCategoryView chargeCategory) {
		return inRmConDao.deleteChargeCategoryView(chargeCategory);
	}

	@Override
	public boolean permDeleteChargeCategory(ChargeCategoryView chargeCategory) {
		return inRmConDao.permDeleteChargeCategory(chargeCategory);
	}

	@Override
	public boolean isChargeCategoryTaken(long orgId, long propId, String code,Long id) {
		return inRmConDao.isChargeCategoryTaken(orgId, propId, code, id);
	}

	@Override
	public List<BillOption> getBillOptionList(long orgId, long propId) {
		return inRmConDao.getBillOptionList(orgId, propId);
	}

	@Override
	public List<BillOptionView> getBillOptionViewList(long orgId, long propId) {
		return inRmConDao.getBillOptionViewList(orgId, propId);
	}

	@Override
	public BillOption createBillOption(BillOption bo) {
		return inRmConDao.createBillOption(bo);
	}

	@Override
	public BillOption saveBillOption(BillOption bo) {
		return inRmConDao.saveBillOption(bo);
	}

	@Override
	public BillOption getBillOption(long id) {
		return inRmConDao.getBillOption(id);
	}

	@Override
	public boolean deleteBillOption(BillOption bo) {
		return inRmConDao.deleteBillOption(bo);
	}

	@Override
	public boolean permDeleteBillOption(BillOption bo) {
		return inRmConDao.permDeleteBillOption(bo);
	}

	@Override
	public boolean isBillOptionTaken(long orgId, long propId, String name,Long id) {
		return inRmConDao.isBillOptionTaken(orgId, propId, name, id);
	}
	
}
